package org.csu.forum.service;

import org.csu.forum.domain.PO.Files;
import org.csu.forum.domain.PO.Post;
import org.csu.forum.domain.PO.ReplyContent;
import org.csu.forum.domain.PO.Titlepost;
import org.csu.forum.domain.VO.FollowPostVO;

import java.util.Date;
import java.util.List;

public interface PostManageService {
    public int addTitlepost(Titlepost titlepost , int userid);

    public int addPost(Post post , int userid , int followpost_floor , int titlepost_id);

    public List<Titlepost> getTitlepostList(int zoneid);

    public List<FollowPostVO> getFollowPostVOList(int postid);

    public int insertReplyContent(ReplyContent replyContent, int replyerid , Date time);

    public List<ReplyContent> getReplyContentList(int postid);

    public Post getPostByPostId(int postid);

    public void insertFile(Files files);
}
